package com.bckj.fastboot.auth.remote;

import com.bckj.fastboot.auth.mapper.SysOauthClientDetailsMapper;
import com.bckj.fastboot.core.lang.model.PageResult;
import com.bckj.fastboot.upms.api.dto.ClientAuthInfo;
import com.bckj.fastboot.upms.api.dto.SysOauthClientDetailsQuery;
import com.bckj.fastboot.upms.api.dto.SysOauthClientDetailsRequest;
import com.bckj.fastboot.upms.api.service.SysOauthClientDetailsRemoteService;
import com.bckj.fastboot.upms.api.vo.SysOauthClientDetailsVO;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * SysOauthClientDetailsRemoteServiceImpl
 *
 * @author wfc
 **/
@Service
public class SysOauthClientDetailsRemoteServiceImpl implements SysOauthClientDetailsRemoteService {

    @Resource
    private SysOauthClientDetailsMapper sysOauthClientDetailsMapper;

    @Override
    public PageResult<SysOauthClientDetailsVO> page(SysOauthClientDetailsQuery query) {
        return null;
    }

    @Override
    public List<SysOauthClientDetailsVO> list(SysOauthClientDetailsQuery query) {
        return List.of();
    }

    @Override
    public boolean save(SysOauthClientDetailsRequest request) {
        return false;
    }

    @Override
    public boolean update(SysOauthClientDetailsRequest request) {
        return false;
    }

    @Override
    public boolean remove(Long id) {
        return false;
    }

    @Override
    public SysOauthClientDetailsVO details(Long id) {
        return null;
    }

    @Override
    public ClientAuthInfo findByClientId(String clientId) {
        return sysOauthClientDetailsMapper.findByClientId(clientId);
    }
}
